# 导入模块
from selenium import webdriver
import time

# 准备options
options = webdriver.ChromeOptions()
# 找到路径
user_data_dir = r'--user-data-dir=C:\Users\梅咏\AppData\Local\Google\Chrome\User Data\Default'
# 添加options
options.add_argument(user_data_dir)


# 初始化数据
class Dispose:
    def __init__(self):
        self.driver = webdriver.Chrome(options=options)
        self.driver.get('https://mail.qq.com/')

# 退出浏览器
    def quit(self):
        self.driver.quit()


if __name__ == '__main__':
    pass
